package com.bawei.a2010douyin.ui.push;

import com.bawei.a2010douyin.base.mvp.BaseView;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.PushEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;

public interface PushContract {
    interface IPushModel{
        Observable<BaseResponse<PushEntity>> startPush( RequestBody requestBody);
        Observable<BaseResponse<String>> stopPush();
    }
    interface IPushView extends BaseView {
        void showStartPush( PushEntity data);
        void showStopPush( String data);
    }


    interface IPushPresenter{
        void startPush( RequestBody requestBody);
       void stopPush();
    }
}
